package com.example.demo01.mapper;

import com.example.demo01.pojo.FormInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FormInfoMapper {
    FormInfo getFormInfoByName(String username);

    void updateFormInfo(FormInfo formInfo);

    List<FormInfo> getAllFormInfos();

    List<FormInfo> getNoPostUsersToday();

    void addFormInfo(FormInfo formInfo);

    void updateIsPostToday(String username);



}
